<html>
<head><meta charset="utf-8"><title>trait aliases in trait objects · wg-traits · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/index.html">wg-traits</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/trait.20aliases.20in.20trait.20objects.html">trait aliases in trait objects</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="160519898"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/trait%20aliases%20in%20trait%20objects/near/160519898" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexander Regueiro <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/trait.20aliases.20in.20trait.20objects.html#160519898">(Mar 11 2019 at 21:32)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> So, the outstanding issue we need to fix is multiple traits in a trait object that come in via (one or more) trait aliases. This should error, like it does right now when you just use <code>dyn TraitA + TraitB</code>.</p>



<a name="160519932"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/trait%20aliases%20in%20trait%20objects/near/160519932" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Alexander Regueiro <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/trait.20aliases.20in.20trait.20objects.html#160519932">(Mar 11 2019 at 21:33)</a>:</h4>
<p>Basically, point 1 from my old PR <a href="https://github.com/rust-lang/rust/pull/55994" target="_blank" title="https://github.com/rust-lang/rust/pull/55994">https://github.com/rust-lang/rust/pull/55994</a> needs to be factored out and updated. There were possibly some complications though, you were mentioning?</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>